<div class="box-c">
<div class="box-c-head" onclick="toggle_box('select_dates_arrow','select_dates_content');">

<div class="title-main-c">
<img src="modules/admin/media/icons/crank.gif" align="top" /> {=lang(L_OPTIONS)}</div>

<div class="arrow">
<img id="select_dates_arrow" src="modules/admin/media/icon-down.gif" />
</div>

</div>
<div class="box-c-content" id="select_dates_content">
  <div class="cont-txt">
    <div class="pointer" onclick="toggle_big_box('start_arrow','start_hold');"><div class="txt-main">Start displaying</div>
    <div class="vector"><img src="modules/admin/media/despl.gif" id="start_arrow" /></div></div>
    <div id="start_hold" style="display:none;">
      <br/>
      <input name="display" id="display" type="text" class="field-form-2" value="{POST_START}" readonly /><input type="button" onclick="return showCalendar('display', '%Y-%m-%e %I:%M:00', '12');" value="..." class="button-form-2" />
    </div>
  </div>
  <div class="cont-txt">
    <div class="pointer" onclick="toggle_big_box('expires_arrow','expires_hold');"><div class="txt-main">Expires</div>
    <div class="vector"><img id="expires_arrow" src="modules/admin/media/despl.gif" /></div></div>
    <div id="expires_hold" style="display:none;">
      <br/>
      <input name="expires" id="expires" type="text" class="field-form-2" value="{POST_EXPIRES}" readonly /><input type="button" onclick="return showCalendar('expires', '%Y-%m-%e %I:%M:00', '12');" value="..." class="button-form-2" />
    </div>
  </div>
  <div class="cont-txt">
    <div class="pointer" onclick="toggle_big_box('password_arrow','password_hold');"><div class="txt-main">Password</div>
    <div class="vector"><img id="password_arrow" src="modules/admin/media/despl.gif" /></div></div>
    <div id="password_hold" style="display:none;">
      <input autocomplete="off" name="password" type="password" value="{POST_PASSWORD}" class="field-form-2" />
    </div>
  </div>
  <div class="cont-txt">
    <div class="pointer" onclick="toggle_big_box('comments_arrow','comments_hold');"><div class="txt-main">Allow comments</div>
    <div class="vector"><img id="comments_arrow" src="modules/admin/media/despl.gif" /></div></div>
    <div id="comments_hold" style="display:none;">
      <select name="allow_comments" class="field-form-2">
	<option value="1" {ALLOW_SELECTED}>Yes</option>
	<option value="0" {NOT_ALLOW_SELECTED}>No</option>
      </select>
    </div>
  </div>
</div>
</div><!--END BOX C -->

<script type="text/javascript">
  $used = $('tags').value;
  new Ajax.Autocompleter('tags','autocomplete','modules/admin/controllers/inc/tags.php', { tokens: ',', parameters: 'used='+$used, updateElement : processtag } );
</script>
